package com.itheima.mall.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单中所包含的商品
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("oms_order_item")
public class OrderItem {

    private Long id;
    private Long orderId;
    private String orderSn;
    private Long productId;
    private String productPic;
    private String productName;
    private String productBrand;
    private String productSn;
    private Double productPrice;
    private Long productQuantity;
    private Long productSkuId;
    private String productSkuCode;
    private Long productCategoryId;
    private String promotionName;
    private Double promotionAmount;
    private Double couponAmount;
    private Double integrationAmount;
    private Double realAmount;
    private Long giftIntegration;
    private Long giftGrowth;
    private String productAttr;
}